package com.study.zzedu.utils;

import com.study.zzedu.MyApplication;
import com.study.zzedu.widget.LoadingDialog;

public class LoadingDialogUtil {

    public static LoadingDialog loadingDialog;
    public static void show(){
        if(loadingDialog == null)
        loadingDialog = new LoadingDialog(MyApplication.getAppContext());
    }
    public static void dismiss(){
        if(loadingDialog != null)
            loadingDialog.dismiss();
    }
}
